package com.sdy.dcsb.biz.service;


import com.sdy.dcsb.biz.model.EsbAtomservice;
import com.sdy.dcsb.biz.model.EsbAtomserviceVo;
import com.sdy.mvc.service.BaseService;

import java.util.List;

public interface EsbAtomServiceService extends BaseService<EsbAtomservice> {

    EsbAtomservice selectById(Integer id);

    List<EsbAtomserviceVo> selectAllMess(Integer id);


    //原子服务

    List<EsbAtomserviceVo> findCountAtomServiceById(Integer id);

    List<EsbAtomserviceVo> findAllAtomServiceById(Integer id, Integer current, Integer size);

    List<EsbAtomservice> findAllAtomServiceByIdType(Integer id, Integer current, Integer size, String type, String message);

    List<EsbAtomservice> findCountAtomServiceByIdType(Integer id, String type, String message);


    /**
     * 原子服务清单
     */
    List<EsbAtomserviceVo> findAtomServiceList(String type, String message, String status, Integer current, Integer size);

    List<EsbAtomserviceVo> findAtomServiceListCount(String type, String message, String status);


    /**
     * 通过原子服务编码查询原子服务fb
     *
     * @param atomServiceCode
     * @return
     */
    List<EsbAtomservice> selectAtomServiceByCode(String atomServiceCode);

    /**
     * 通过原子服务编码(右模糊，like 'xxx%')查询原子服务fb
     *
     * @param atomServiceCode
     * @return
     */
    List<EsbAtomservice> selectAtomServiceByCodeLikeRight(String atomServiceCode);


}